package com.diligent.cloud.sfc.service;

import com.canny.commons.model.ListResult;
import com.canny.commons.model.ObjectResult;
import com.canny.commons.model.Result;
import com.diligent.cloud.sfc.model.info.ColorInfo;
import com.diligent.cloud.sfc.model.params.PowderBoxParams;
import com.diligent.cloud.workorder.model.WoLots;
import org.springframework.http.ResponseEntity;

import java.security.Principal;

/**
 * WorkshopSceneSprayingProcessService interface
 *
 * @author xf107278
 * @date 4/17/2020
 */
public interface WorkshopSceneSprayingProcessService {

    Result addPowderInventory(PowderBoxParams powderBoxParams, Boolean backPowder,Principal principal);

    ListResult<ColorInfo> getColorList(String machCode,String matCode);

    ResponseEntity<ListResult> getLotsFilter(String woOrder,Long systemId);

    ResponseEntity<ObjectResult<WoLots>> getLotsInfo(String lotCode);

    ResponseEntity<ObjectResult<WoLots>> getBoxByLots(String lotCode);
}
